PDF Plugin for Xojo

Page.DrawImage Method (console safe)

Draws a image that has previously been loaded by the LoadImage function on the PDFDocument class.

DrawImage(
   image as Image,
   x as Single,
   y as Single,
   width as Single,
   height as Single)

Parameters

image
The image to draw.
x
The x coordinate for the image.
y
The y coordinate for the image. (Remember in PDF then y starts from bottom of the page)
width
Width of the image to draw.
height
Height of the image to draw.

Remarks

See Also

Page Class